const menuRoutes = [
    /**
     *  path: 跳转的路径
     *  icon: 图标名称
     *  label: 菜单title
     *  name: 路由名称
     *  url: 组件存储地址
     */
    {
        path:'/home',
        icon: 'UserOutlined',
        label:'首页',
        name: 'home',
        url:'/home/index'
    },
    {
        path:'/shop',
        icon: 'MenuUnfoldOutlined',
        label:'商品',
        name: 'shop',
        url:'/home/shop'
    },
    {
        path:'/user',
        icon: 'UploadOutlined',
        label:'用户',
        name: 'user',
        url:'/user/index'
    },
    {
        path:'/other',
        icon: 'UserOutlined',
        label:'其他',
        name: 'other',
        children:[
            {
                path:'/other/otherOne',
                icon: 'VideoCameraOutlined',
                label:'其他一',
                name: 'otherOne',
                url:'/other/otherOne'
            },
            {
                path:'/other/otherTwo',
                icon: 'MenuUnfoldOutlined',
                label:'其他二',
                name: 'otherTwo',
                url:'/other/otherTwo'
            }
        ]
    }
]


export default menuRoutes;